package org.example.service;

import org.example.model.TransferRecord;

import java.util.Date;
import java.util.List;
/**
 * @author lijun
 * @date 2025-10-20 13:12
 */
public interface TransferRecordService {
    List<TransferRecord> getAllRecords();

    TransferRecord getRecordById(Integer id);
    TransferRecord queryCache(Integer id);
    boolean addRecord(TransferRecord record);

    boolean updateRecord(TransferRecord record);

    boolean deleteRecord(Integer id);

    List<TransferRecord> searchRecords(String channel, String type, Date startTime, Date endTime);
}

